package com.prj.ufdm.file.dao;

import com.mongodb.client.result.UpdateResult;
import com.prj.ufdm.file.model.WholeFile;

public interface WholeFileDao {

	public WholeFile insertWholeFile(WholeFile wholeFile) throws Exception;

	public UpdateResult updateWholeFile(WholeFile wholeFile) throws Exception;
	
	public WholeFile findWholeFileByWholeFileId(String id) throws Exception;
	
	public WholeFile findWholeFileByWholeFileHash(String wholeFileHash) throws Exception;
}
